#{extends 'main.html' /}
#{set title:'Home' /}
<<!-- @author Dana Tubeileh 
This is the html page for  the review requests where i could open each one to accept or reject the exercise -->
<body style="background-color:yellow;">

<h2>
Your Review Requests :
</h2>

<table id="dataTable" background = "lightblue"; border="4">

<table id="dataTable" background = "Yellow"; border="4">
<tr>
<th style="background-color:Red;font-family:herculanum;font-size:20px">Review Request</th>
<th style="background-color:Red;font-family:herculanum;font-size:25px">Action</th>

#{list items:RRequests, as:'ReviewRequests'}
</tr>
<td>
<ul><li> <h2>Please Review this !!!</h2> </li></ul>
${ReviewRequests.toString()} 
</td>
<td>
<form action="@{Exercises1.ViewExercise1()}" method= "GET">
<div id="${ReviewRequests.ExId}">
<button name="Open" type="submit" value="${ReviewRequests.ExId}">openrequest</button>
</div>
<hr>
</form>
</td>
#{/list}
<p>
</table>
</table>
<a href="@{Application.viewProfile()}">Back to Profile Page</a>



</body>